package com.zdxf.mapper;

import com.zdxf.domain.LogDO;
import com.zdxf.domain.ServiceDO;
import com.zdxf.domain.SiteXmlDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ServiceManageMapper {
    List<ServiceDO> getServiceList();

    ServiceDO getServiceById(int id);

    List<SiteXmlDO> getSiteList(int id);

    List<SiteXmlDO> getFileList(int id);

    void setSite(Map params);

    void setServiceEditStatus(int serviceId, int editStatus);

    SiteXmlDO getSiteById(Map params);
    List<SiteXmlDO> getSiteHostsById(Map params);

    List<LogDO> getLogList(int id);
    LogDO getLogById(int id);


}
